package com.rundatop.dao.model;

import java.util.Date;

import javax.persistence.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@Table(name = "`base_goods`")
public class BaseGoods {
    /**
     * 自增主键
     */
    @Id
    @Column(name = "`id`")
    private String id;

    /**
     * 属性"name"
     */
    @Column(name = "`name`")
    private String name;

    @Column(name = "`sort_no`")
    private Integer sortNo;

    
    @Column(name = "`create_time`")
    private Date createTime;

    /**
     * 状态 0禁用 1启用
     */
    @Column(name = "`status`")
    private Integer status;

    @Column(name = "`f1`")
    private String f1;

    @Column(name = "`f2`")
    private String f2;

    @Column(name = "`f3`")
    private String f3;

    @Column(name = "`f4`")
    private String f4;
    
    @Transient
    private String[] phoneId;
    

    
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getF1() {
		return f1;
	}

	public void setF1(String f1) {
		this.f1 = f1;
	}

	public String getF2() {
		return f2;
	}

	public void setF2(String f2) {
		this.f2 = f2;
	}

	public String getF3() {
		return f3;
	}

	public void setF3(String f3) {
		this.f3 = f3;
	}

	public String getF4() {
		return f4;
	}

	public void setF4(String f4) {
		this.f4 = f4;
	}

	public String[] getPhoneId() {
		return phoneId;
	}

	public void setPhoneId(String[] phoneId) {
		this.phoneId = phoneId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public static final String ID = "id";

    public static final String PARENT_ID = "parentId";

    public static final String IDS = "ids";

    public static final String NAME = "name";

    public static final String SORT_NO = "sortNo";

    public static final String STATUS = "status";
}